package com.xunyin.enums;

public enum ConfigShortEnum {

    COUPON_SOURCE_COUPON((short) 1, "优惠券来源", "优惠卷发放"),
    COUPON_SOURCE_ACTIVITY((short) 2, "优惠券来源", "活动领取"),
    COUPON_SOURCE_ACTIVITY_CARD((short) 3, "优惠券来源", "新用户充值月卡送一张免费一次优惠券"),

    COUPON_USE_STATUS_TAKE((short) 1, "优惠券使用状态", "可使用"),
    COUPON_USE_STATUS_USE((short) 2, "优惠券使用状态", "已使用"),
    COUPON_USE_STATUS_TIMEOUT((short) 3, "优惠券使用状态", "已过期"),
    COUPON_USE_STATUS_LOCK((short) 4, "优惠券使用状态", "已锁定"),
    COUPON_USE_STATUS_OUT((short) 5, "优惠券使用状态", "已失效"),


    DEDUCTION_LEVEL_PRODUCT((short) 1, "优惠券来源", "优惠卷发放"),
    DEDUCTION_LEVEL_ORDER((short) 2, "优惠券来源", "活动领取"),

    SOURCE_TYPE_SMS((short) 0, "推送类型", "短信推送"),
    SOURCE_TYPE_MINAPP((short) 1, "登录类型", "微信小程序"),
    SOURCE_TYPE_H5((short) 3, "登录类型", "微信公众号"),

    ACTIVITY_TAKE_SCENE_NEW_USER((short) 1, "活动领取场景", "新用户");
    private Short code;

    private String type;

    private String msg;

    ConfigShortEnum() {
    }

    ConfigShortEnum(Short code, String type, String msg) {
        this.code = code;
        this.type = type;
        this.msg = msg;
    }

    public Short getCode() {
        return code;
    }

    public void setCode(Short code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
